﻿@namespace BlazorComponent
@inherits BGroupItem<ItemGroupBase>

<CascadingValue Value="IsDark" Name="IsDark">
    <Element Tag="@Tag"
             Class="@CssProvider.GetClass()"
             Style="@CssProvider.GetStyle()"
             ReferenceCaptureAction="_ => Ref = _"
             @onclick="@HandleOnClick"
             __internal_stopPropagation_onclick="@OnClickStopPropagation"
             __internal_preventDefault_onclick="@OnClickPreventDefault"
             @attributes="@Attributes">
        @RenderPart(typeof(BChipContent<>))
    </Element>
</CascadingValue>